﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:edmx="http://schemas.microsoft.com/ado/2007/06/edmx" 
           attributeFormDefault="unqualified" elementFormDefault="qualified" 
           targetNamespace="http://schemas.microsoft.com/ado/2007/06/edmx" 
           xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:import namespace="http://schemas.microsoft.com/ado/2006/04/edm" />
   <xs:import namespace="http://schemas.microsoft.com/ado/2006/04/edm/ssdl" />
   <xs:import namespace="urn:schemas-microsoft-com:windows:storage:mapping:CS" />
   <xs:element name="Edmx">
      <xs:complexType>
         <xs:sequence>
            <xs:element name="Designer">
               <xs:complexType>
                  <xs:sequence>
                     <xs:element name="Connection" />
                     <xs:element name="Options" />
                     <xs:element name="ReverseEngineer" />
                     <xs:element name="Diagrams" />
                  </xs:sequence>
               </xs:complexType>
            </xs:element>
            <xs:element name="Runtime">
               <xs:complexType>
                  <xs:sequence>
                     <xs:element name="ConceptualModels">
                        <xs:complexType>
                           <xs:sequence>
                              <xs:element xmlns:q1="http://schemas.microsoft.com/ado/2006/04/edm" ref="q1:Schema" />
                           </xs:sequence>
                        </xs:complexType>
                     </xs:element>
                     <xs:element name="StorageModels">
                        <xs:complexType>
                           <xs:sequence>
                              <xs:element xmlns:q2="http://schemas.microsoft.com/ado/2006/04/edm/ssdl" ref="q2:Schema" />
                           </xs:sequence>
                        </xs:complexType>
                     </xs:element>
                     <xs:element name="Mappings">
                        <xs:complexType>
                           <xs:sequence>
                              <xs:element xmlns:q3="urn:schemas-microsoft-com:windows:storage:mapping:CS" ref="q3:Mapping" />
                           </xs:sequence>
                        </xs:complexType>
                     </xs:element>
                  </xs:sequence>
               </xs:complexType>
            </xs:element>
         </xs:sequence>
         <xs:attribute name="Version" type="xs:decimal" use="required" />
      </xs:complexType>
   </xs:element>
</xs:schema>